<?php

namespace app\index\validate;

use think\Validate;

class Edit extends Validate
{
    protected $rule =   [
        'name'  => 'require',
        'password'   => 'require',
        'phone'   => 'require',
        'address'   => 'require',
    ];

    protected $message  =   [
        'name' => '必须填写姓名',
        'password'     => '必须填写密码',
        'phone'     => '必须填写电话',
        'address'     => '必须填写地址',
    ];
}
